Skip to content

feat: include provider type in schema (#34)#35

Merged
jiashengguo merged 1 commit into
mainfrom
dev
Apr 16, 2026
Merged

feat: include provider type in schema (#34)#35
jiashengguo merged 1 commit into
mainfrom
dev

Conversation

@jiashengguo
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 16, 2026 03:45
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 16, 2026

Warning

Rate limit exceeded

@jiashengguo has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 57 minutes and 55 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 57 minutes and 55 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 7f365e14-0939-422c-aeab-f2a2c2aa70a9

📥 Commits

Reviewing files that changed from the base of the PR and between 81099de and 1d0712a.

📒 Files selected for processing (2)
  • package.json
  • src/server.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds database provider information to the schema metadata endpoint so clients (e.g., tooling/UI) can infer the underlying datasource type.

Changes:

  • Extend GET /api/schema response to include provider.type from the parsed ZModel datasource config.
  • Bump package version from 0.4.1 to 0.4.2.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/server.ts Adds provider.type to the /api/schema JSON response payload.
package.json Version bump to publish the new schema metadata output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jiashengguo jiashengguo merged commit 898c98e into main Apr 16, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants